Repository navigation
Conversation
|
/bot run --disable-fail-fast |
|
No actionable comments were generated in the recent review. WalkthroughThis change updates disaggregation idle-cancellation tests to build ChangesDisaggregation idle-cancellation tests
Estimated code review effort: 2 (Simple) | ~10 minutes Change: Other Suggested reviewers: Merge Risk:
|
|
PR_Github #83773 [ run ] triggered by Bot. Commit: |
sunnyqgg
left a comment
There was a problem hiding this comment.
I checked the fixture repair against the production path it unblocks. After #20903, _process_previous_batch reads BatchState.guided_failures / guided_batch_id and PyExecutor.capturable_guided_decoder (py_executor.py:7613-7615, 11917-11924). With the real BatchState defaults plus capturable_guided_decoder = None, _take_capturable_guided_failures returns [], so each of the six restored cases now reaches its own assertions. The six removed lines are exactly the #21963 waives for nvbugs/7071872, and the pre-merge CPU stage still collects the file (l0_cpu.yml:114). Counts: 0 blockers, 0 possibly blocking, 2 required, 0 nice-to-have. The L0 run for bf410f4 (PR_Github #83773) was still queued when I wrote this, so please merge only after the CPU stage has run the six restored cases green.
- [Required] PR description: the auto-generated CodeRabbit block says "the tests are not found in the
test-db/CI orqa/manual-QA lists" and "The file is not found in thetest-db/CI orqa/manual-QA lists". That is wrong.tests/integration/test_lists/test-db/l0_cpu.yml:114(- unittest/_torch/disaggregation, the pre-merge CPU stage) collects thiscpu_onlyfile. The six cases failed there in L0_MergeRequest_PR #69106 (stage CPU-Generic-x86-2), which is why they were waived, and your own Test Coverage section says the suite stays under thel0_cpu.ymldirectory selection. Please delete or correct those CodeRabbit lines, so the PR does not claim that the restored cases never run in CI.
| unittest/_torch/disaggregation/test_disagg_idle_cancellation.py::test_cancelled_overlap_request_retires_at_the_existing_post_sampler_boundary[True-cancelled] SKIP (https://nvbugs/7071872) | ||
| unittest/_torch/disaggregation/test_disagg_idle_cancellation.py::test_deferred_lora_generation_resumes_from_harvested_host_token SKIP (https://nvbugs/7071872) | ||
| unittest/_torch/disaggregation/test_disagg_idle_cancellation.py::test_overlap_marker_changes_only_after_previous_sample_is_harvested[empty] SKIP (https://nvbugs/7071872) | ||
| unittest/_torch/misc/test_guided_decoder_errors.py::test_executor_loop_fails_the_request_once_its_batch_is_synchronized SKIP (https://nvbugs/7068781) |
There was a problem hiding this comment.
[Required] This is about the six test_disagg_idle_cancellation.py waivers removed just above. The auto-waive PR #21958 for the same bug (nvbugs/7071872) is still open, and it adds these same six cases again as full:CPU/unittest/_torch/disaggregation/test_disagg_idle_cancellation.py::... SKIP (https://nvbugs/7071872) lines.
Its hunk sits in the full: section of this file (around lines 87-93, next to full:CPU/unittest/scripts/test_subprocess_timeouts.py), which this PR does not touch. The prefixed lines are also different text from the unprefixed ones removed here, so #21958 still applies cleanly after this PR and the duplicate-line check does not catch it. If it is merged later, the six restored cases are skipped again on the CPU stage, the only stage that collects this file (l0_cpu.yml:114). Nothing in CI would flag it, and the bug would look fixed.
Please close #21958 as superseded by #21963 plus this PR, or link it here and ask the bot owner to close it.
|
PR_Github #83773 [ run ] completed with state |
…res with batch state Signed-off-by: Yuxian Qiu <142763828+yuxianq@users.noreply.github.com>
bf410f4 to
e4897ba
Compare
|
/bot run --disable-fail-fast |
|
PR_Github #83840 [ run ] triggered by Bot. Commit: |
Dev Engineer Review
The test fixtures now use
BatchStateandSampleStateTorchfor previous-batch state, and setcapturable_guided_decodertoNonein the executor fixture. This aligns the fixtures with fields read during previous-batch processing. The diff contains no production code changes.QA Engineer Review
The patch modifies one test file and
tests/integration/test_lists/waives.txt. It removes six waivers for cancellation-boundary, deferred LoRA generation, and overlap-marker tests. The test file does not appear in the searchedtest-db/CI orqa/manual-QA lists. Test results for the current head are not available. Coverage verdict: sufficient for the fixture repair and restored tests.Per-File QA Perspective
tests/unittest/_torch/disaggregation/test_disagg_idle_cancellation.py: Updates previous-batch fixtures used by cancellation and token-harvest tests. The file does not appear in the searchedtest-db/CI orqa/manual-QA lists.tests/integration/test_lists/waives.txt: Removes six NVBug 7071872 skip entries for this test file, restoring those cases from waiver status without changing their assertions.Description
After #20903, previous-batch processing reads
BatchState.guided_failures, but the disaggregation cancellation fixtures construct partialSimpleNamespacebatch states. Six CPU tests fail withAttributeErrorbefore reaching their cancellation and token-harvest assertions.Use the real
BatchStateandSampleStateTorchdefaults and explicitly setcapturable_guided_decoder = Nonein the executor fixture. Remove the six waivers added by #21963 for NVBug 7071872, restoring these cases to the existing CPU CI selection.This is an independent fixture repair based directly on
mainat11131ecfbe; it addresses the shared failures observed while validating #19396.Test Coverage
Run with normal native runtime initialization on x86, with GPUs hidden:
CUDA_VISIBLE_DEVICES='' python3 -m pytest -m cpu_only tests/unittest/_torch/disaggregation/test_disagg_idle_cancellation.py -q --tb=shortfc41ebd016: 6 failed, 79 passed; all six failures reproduce the waivedguided_failureserror.11131ecfbe: 85 passed, no skips.git diff --checkpassed.l0_cpu.ymldirectory selection. Local pytest reported 10.10 seconds for the fixed suite; this is not a CI timing measurement.PR Checklist